package com.entity.neo4j;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Neo4j通用关系对象", description="")
public class GeneralRelation {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "起始节点id")
    private String source;

    @ApiModelProperty(value = "目标节点id")
    private String target;

    @ApiModelProperty(value = "关系连线显示内容")
    private String name;

    @ApiModelProperty(value = "节点提示内容")
    private String des;
}
